//使用前请修改store & column 对应字段
Ext.onReady(function() {
//查询帐号start------------------------------------------------
checkListstore = new Ext.data.Store({
				url : '',
				reader : new Ext.data.JsonReader({
							root : '',
							id: 'flow_id',
							totalProperty : ''
						}, [{
									name : 'flow_id',
									mapping : 'flow_id'
								},{
									name : 'flow_name',
									mapping : 'flow_name'
								}, {
									name : 'flow_orgid',
									mapping : 'flow_orgid'
								}, {
									name : 'flow_memo',
									mapping : 'flow_memo'
								}, {
									name : 'start_date',
									mapping : 'start_date'
								}, {
									name : 'end_date',
									mapping : 'end_date'
								}, {
									name : 'step_id',
									mapping : 'step_id'
								}, {
									name : 'step_user',
									mapping : 'step_user'
								}, {
									name : 'step_role',
									mapping : 'step_role'
								}])  
					        });
					        

var checkListcm = new Ext.grid.ColumnModel([new Ext.grid.RowNumberer(), {
				header : '审核人',
				width : 90,
				//hidden:true,
				dataIndex : 'step_user'
			},{
				header : '审核步骤',
				width : 90,
				dataIndex : 'step_id'
			},{
				header : '审核开始日期',
				dataIndex : 'start_date'
			},{
				header : '审核结束日期',
				dataIndex : 'end_date'
			}, {
				header : '审核意见',
				dataIndex : 'flow_memo'
			}]);
			
var checkListGrid = new Ext.grid.GridPanel({
				title:'审核记录',
				trackMouseOver:true, 
				stripeRows:true, 
				autoScroll:true, 
				hideCollapseTool:true, 
				//selModel:new Ext.grid.RowSelectionModel({singleSelect:false}), 
				collapsible:true, 
				titleCollapse:true, 
				bufferResize:true, 
				loadMask:true, 
				//width:300,
				//height:300,
				id : 'checkListGrid',
				
				cm : checkListcm,
				store : checkListstore,
				loadMask : true,
				loadMask : {
					msg : '正在加载数据...'
				}
			});	
//查询帐号end------------------------------------------------	
	
	
	
new Ext.Viewport({layout:"fit", items:[checkListGrid]});
});